
package core;

import java.io.Serializable;



public class ModelObject implements Serializable {
    //project wide constants
    public static int BAR_CODE_LENGTH = 12;
    public static long INITIAL_BAR_CODE = 2000000000;
    public static String BCODE_TWO_NUMS = "42";
    protected int id;
    
    /**
     * sets the unique id assigned to the model entity object
     * @param id the unique id
     */
    public void setID(int id)
    {
    	this.id = id;
    }
    
    /**
     * returns the unique id assigned to the model object
     * @return the unique id
     */
    public int getID()
    {
    	return id;
    }
}
